public class Test {
    public static void main(String[] args) {
        int a=10;
        Integer a1=a;//自动装箱
        System.out.println(a1);
        Integer b=20;
        int b1=b;//自动拆箱
        System.out.println(b1);
    }
}
